#ifndef WARNRULESET_H
#define WARNRULESET_H

#include <QWidget>
#include "deviceModel.h"
namespace Ui {
class WarnRuleSet;
}

class WarnRuleSet : public QWidget
{
    Q_OBJECT

public:
    explicit WarnRuleSet(QWidget *parent = nullptr,deviceModel*deviceModel=nullptr,userModel*userModel=nullptr);
    ~WarnRuleSet();
public slots:
    void handleDataReceived(const QByteArray &);
private:
    Ui::WarnRuleSet *ui;
    deviceModel*dModel;
    userModel*uModel;
};

#endif // WARNRULESET_H
